package com.rogchen.social.oauthserver.dto;

import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @author Rogchen rogchen128@gmail.com
 * @description:
 * @product: IntelliJ IDEA
 * @created Date: 19-11-4 09:45
 **/
@Data
public class SysUser implements Serializable {

    private String username;

    private String password;

    List<SysRole> roleList;

    public SysUser(String username, String password,  List<SysRole> roleList) {
        this.username = username;
        this.password = password;
        this.roleList = roleList;
    }
}
